package com.summer.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------PaymentFallbackService fall back-paymentInfo_ok,o(%>_<%)o";
    }

    @Override
    public String paymentInfo_timeOut(Integer id) {
        return "-------PaymentFallbackService fall back-paymentInfo_timeOut,o(%>_<%)o";
    }
}
